/*
* 苏州海管家物流科技有限公司（https://www.hgj.com/）.
* 苏公网安备32059002003385号 © 2015-2022 Hgj.com All Rights Reserved. | 苏ICP备15030950号.
* @Date: 2022.04.16.
* @Author
* @Description 企点管理后台 - 路由表 - 快递查询.
**/
import { RouteRecordRaw } from 'vue-router'

const expressRoutes: Array<RouteRecordRaw> = [
    {
        path: '/express',
        name: 'Express',
        meta: {
            title: '快递查询',
            isLink: 'https://nodejs.org/zh-cn/',
            isHide: false,
            isKeepAlive: false,
            isAffix: true,
            isIframe: true,
            roles: ['admin'],
            icon: 'iconfont icon-neiqianshujuchucun'
        },
        component: () => import('@/views/express/index.vue'),
        children: [
            {
                path: '/pay-record',
                name: 'PayRecord',
                meta: {
                    title: '购买记录',
                    isLink: 'https://nodejs.org/zh-cn/',
                    isHide: false,
                    isKeepAlive: false,
                    isAffix: true,
                    isIframe: true,
                    roles: ['admin'],
                    icon: 'iconfont icon-neiqianshujuchucun'
                },
                component: () => import('@/views/pay-record/index.vue')
            },
            {
                path: '/search-record',
                name: 'SearchRecord',
                meta: {
                    title: '客户查询记录',
                    isLink: 'https://nodejs.org/zh-cn/',
                    isHide: false,
                    isKeepAlive: false,
                    isAffix: true,
                    isIframe: true,
                    roles: ['admin'],
                    icon: 'iconfont icon-neiqianshujuchucun'
                },
                component: () => import('@/views/search-record/index.vue')
            },
            {
                path: '/express-supplier',
                name: 'ExpressSupplier',
                meta: {
                    title: '快递供应商',
                    isLink: 'https://nodejs.org/zh-cn/',
                    isHide: false,
                    isKeepAlive: false,
                    isAffix: true,
                    isIframe: true,
                    roles: ['admin'],
                    icon: 'iconfont icon-neiqianshujuchucun'
                },
                component: () => import('@/views/express-supplier/index.vue')
            },
            {
                path: '/express-track',
                name: 'ExpressTrack',
                meta: {
                    title: '快递追踪列表',
                    isLink: 'https://nodejs.org/zh-cn/',
                    isHide: false,
                    isKeepAlive: false,
                    isAffix: true,
                    isIframe: true,
                    roles: ['admin'],
                    icon: 'iconfont icon-neiqianshujuchucun'
                },
                component: () => import('@/views/express-track/index.vue')
            }
        ]
    }
]

export default expressRoutes